<ion-view view-title="Sales A" class='mine'>
    <ion-content>
        <div time times="times" month="month" on-fun='loadChannelByMonth(month)'></div>
        <img class="img" src="img/vs.png"></img>
        <div id="indicator_SalesAvsSalesB" class="card_band" style="text-align:center;margin-bottom: 15px;">
            <table>
                <thead>
                    <tr>
                        <th>/</th>
                        <th>SalesA</th>
                        <th>SalesB</th>
                        <th>Gap</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="header_text_column">指标</td>
                        <td>8944102</td>
                        <td>8944102</td>
                        <td>0</td>
                    </tr>
                    <tr>
                        <td class="header_text_column">实际</td>
                        <td>7900251</td>
                        <td>7900251</td>
                        <td>0</td>
                    </tr>
                    <tr>
                        <td class="header_text_column">达成</td>
                        <td>89%</td>
                        <td>89%</td>
                        <td>0%</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <label class="header_text_no">渠道销量占比</label>
        <div id="pie_channel" style="float: left; width: 100%;height: 200px;"></div>
        <table>
            <thead>
                <tr>
                    <th>颜色示意</th>
                    <th>指标</th>
                    <th>达成</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="data in datas[0].data track by $index ">
                    <td><span style="background: {{data.color}}"></span>{{data.name}}</td>
                    <td>{{data.quota}}</td>
                    <td>{{data.reach}}%</td>
                </tr>
            </tbody>
        </table>
    </ion-content>
</ion-view>
